/*
 * UNPUBLISHED SOURCE CODE
 *
 * Copyright 2007, 2008, MaxiScale, Inc.
 * ALL RIGHTS RESERVED.
 *
 * MAXISCALE HIGHLY CONFIDENTIAL TRADE SECRET INFORMATION
 *
 * Access or possession of this material grants you no right or license,
 * express, implied, statutory or otherwise, under any MaxiScale patent,
 * copyright, trade secret right or other intellectual property right.
 * Any such license must be contained in a written license agreement
 * signed by an authorized officer of MaxiScale.  Additionally, access or
 * possession of this material is limited to MaxiScale employees with a
 * need to know or named employees of MaxiScale vendors authorized by
 * MaxiScale in writing to access this material.
 *
 * Restricted Rights: Use, duplication, or disclosure by the U.S.
 * Government is subject to restrictions of FAR 52.227-19 and its
 * successors, or (c)(1)(ii) of the Rights in Technical Data and
 * Computer Software clause at DFAR 252.227-7013 and its successors.
 *
 * MaxiScale, Inc.
 */

/*
 * This file contains ...
 *
 * Date:        $Date$
 * Revision:    $Rev$
 * Author:      $Author$
 * HeadURL:     $HeadURL$
 * File Id:     $Id$
 */

#ifndef _SFR_H
#define _SFR_H

#ifdef __cplusplus
extern "C" {
#endif

#include <sys/types.h>
#include <sys/uio.h>

// SFR API
char *SFR_Write(const char *mnt, const char *buf, int len, const char *suffix);
ssize_t SFR_Write_2(const char *mnt, const char *buf, int len, const char *suffix, char **path);
ssize_t SFR_Write_3(const char *mnt, const struct iovec *vector, int count, int prefill, const char *suffix, char **path);

#ifdef __cplusplus
}
#endif

#endif /* _SFR_H */
